package com.mate.cloud.datascope.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mate.cloud.datascope.domain.Order;
import com.mate.cloud.datascope.mapper.OrderMapper;
import com.mate.cloud.datascope.query.OrderQuery;
import com.mate.cloud.datascope.service.OrderService;
import com.mate.cloud.mybatis.bases.BasesServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderServiceImpl extends BasesServiceImpl<OrderMapper, Order> implements OrderService {



    @Override
    public List<Order> orders(Page page, OrderQuery query) {
        return baseMapper.orderList(page,query);
    }

}
